package com.xuecheng.content.service;

import com.xuecheng.base.exception.ValidationGroups;
import com.xuecheng.base.model.PageParams;
import com.xuecheng.base.model.PageResult;
import com.xuecheng.content.model.dto.AddCourseDto;
import com.xuecheng.content.model.dto.CourseBaseInfoDto;
import com.xuecheng.content.model.dto.EditCourseDto;
import com.xuecheng.content.model.dto.QueryCourseParamsDto;
import com.xuecheng.content.model.po.CourseBase;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author zxw
 * @date 2024/11/18 20:42
 */
public interface CourseBaseInfoService {
    public PageResult<CourseBase> queryCourseBaseList(PageParams pageParams, QueryCourseParamsDto dto);

    public CourseBaseInfoDto createCourseBase(Long companyId ,AddCourseDto addCourseDto);
    public CourseBaseInfoDto getCourseBaseInfo( Long courseId);
    public CourseBaseInfoDto updateCourseBase(Long companyId ,EditCourseDto editCourseDto);

}
